/*
 * config_qlcloud.h
 *
 *  Created on: 2020-03-28
 *      Author: zh
 */

#ifndef CONFIG_QLCLOUD_H_
#define CONFIG_QLCLOUD_H_

#ifdef __cplusplus

extern "C"{

#endif

#include "myconfig.h"
// 青莲云 配置文件 
// 连接信息： 39.107.77.45: 20206 
// 羊城充，测试IP：39.108.177.207 端口：5051

configPara  conf_tab[] = {
	{"firmid",TY_INT,"0"},
	{"devtype",TY_INT,"1"},        
	{"gunnum",TY_INT,"2"},
	{"server_ip",TY_STR,"39.107.77.45"},
	{"server_port",TY_INT,"20206"},//
	{"devNO",TY_STR,"0004403070121001"},//   312219080001
	{"propertyCode",TY_STR,"0004403070121001"},
	{"can_ver",TY_STR,"1.10"},//030201000000000000000274
	{"MaxV",TY_INT,"264"},
	{"MaxI",TY_INT,"30"},
	{"InMt_Baud",TY_INT,"2400"},
	{"In_phase_num",TY_INT,"1"},
	{"OutMt_Baud",TY_INT,"2400"},
	{"cannum",TY_INT,"2"},
	{"mt_portnum",TY_INT,"2"},
	{"CARD_PSAM",TY_STR,"010000161218"},
	{"ctrlpw_type",TY_INT,"1"},//0,无控制 1,支持共充，2,支持功率调节
	{"LOG_DAYS",TY_INT,"30"},//日志记录天数
	{"LOGENABLE",TY_INT,"1"},//日志是否记录到Flash
	{"START_LOG",TY_STR,"200229"},//日志开始记录日期
	{"MAIN_VER",TY_STR,"210523"},   // 程序主版本号
	{"INTERFACE_ID",TY_STR,"0fd931adb"},    // 接口ID
	{"TOKEN",TY_STR,"027725ad4a772828"}     // 接口TOKEN
};
        
/*
configPara  conf_tab[] = {
		{"firmid",TY_INT,"2"},
		{"devtype",TY_INT,"1"},
		{"gunnum",TY_INT,"2"},      // 充电枪数量 
		{"devNO",TY_STR,"4402000003220011"},
		{"server_ip",TY_STR,"39.107.77.45"},
		{"server_port",TY_INT,"20206"},
		{"1st_mt_comno",TY_INT,"3"},
		{"1st_mt_baud",TY_INT,"2400"},
		{"phase_num",TY_INT,"1"},
		{"can_ver",TY_STR,"1.10"},
		{"propertyCode",TY_STR,"4402000003220011"},
		{"MaxV",TY_INT,"264"},
		{"MaxI",TY_INT,"30"},
		{"cannum",TY_INT,"1"},
		{"mt_portnum",TY_INT,"1"},
		{"gunno_1st",TY_INT,"0"},
		{"gunno_2nt",TY_INT,"0"},
		{"canaddr1",TY_INT,"246"},//0xf6
		{"canaddr2",TY_INT,"246"},//0xf6
		{"2nd_mt_comno",TY_INT,"2"},
		{"1ST_METER_ADDR" ,TY_STR,"111111111111"},
		{"2ND_METER_ADDR",TY_STR,"201812260026"},
		{"ctrlpw_type",TY_INT,"1"},//0,无控制 1,支持共充，2,支持功率调节
		{"ShowStopReason",TY_INT,"1"},
		{"LOGENABLE",TY_INT,"0"},//日志是否记录到Flash
		{"HARDWARE_VER",TY_INT,"1"},//硬件版本号 1:210 2:700 3:600
};
*/

#ifdef __cplusplus
}
#endif

#endif /* CONFIG_QLCLOUD_H_ */

//
////双枪编号：4402000003220012  单枪编号：4402000003220012
//#if GUNNUM==2
////configPara  conf_tab[] = {
////		{"firmid",TY_INT,"0"},
////		{"devtype",TY_INT,"1"},
////		{"gunnum",TY_INT,"2"},//4402000000008010  4402000000007100  收到充电要求，准备充电
////		{"devNO",TY_STR,"4402000000001002"},//   312219080001
////		{"server_ip",TY_STR,"193.112.182.48"},//度度充 120.76.228.189  //60.191.107.133  192.168.1.199  //粤易充  60.191.107.133  2804  47.92.34.130   8076
////		{"server_port",TY_INT,"2412"},//
////		{"1st_mt_comno",TY_INT,"3"},
////		{"1st_mt_baud",TY_INT,"2400"},
////		{"phase_num",TY_INT,"3"},
////		{"can_ver",TY_STR,"1.10"},//030201000000000000000274
////		{"propertyCode",TY_STR,"4402000000001002"},//030200000000000000000255  2018122709310001  030201000000000000000274
////		{"MaxV",TY_INT,"264"},
////		{"MaxI",TY_INT,"30"},
////		{"cannum",TY_INT,"2"},
////		{"mt_portnum",TY_INT,"2"},
////		{"gunno_1st",TY_INT,"0"},
////		{"gunno_2nt",TY_INT,"0"},
////		{"canaddr1",TY_INT,"246"},//0xf6
////		{"canaddr2",TY_INT,"246"},//0xf6
////		{"2nd_mt_comno",TY_INT,"2"},////////////
////		//		{"1ST_METER_ADDR" ,TY_STR,"111111111111"},//070250000787
////		//		{"2ND_METER_ADDR",TY_STR,"201812260026"},//070250000786  260026121820
////		{"ctrlpw_type",TY_INT,"1"},//0,无控制 1,支持共充，2,支持功率调节
////		{"ShowStopReason",TY_INT,"1"},
////		{"LOGENABLE",TY_INT,"0"},//日志是否记录到Flash
////		{"HARDWARE_VER",TY_INT,"1"},//硬件版本号 1:210 2:700 3:600
////		{"MT_CT",TY_INT,"1"},//电表互感器变比
////		{"LOG_DAYS",TY_INT,"30"},//日志记录天数
////		{"START_LOG",TY_STR,"191211"},//日志开始记录日期
////		{"MAIN_VER",TY_STR,"191202"},
////};
//#if GUNNUM==1
//configPara  conf_tab[] = {
//		{"firmid",TY_INT,"0"},
//		{"devtype",TY_INT,"1"},
//		{"gunnum",TY_INT,"2"},
//		{"server_ip",TY_STR,"193.112.182.48"},
//		{"server_port",TY_INT,"2412"},//
//		{"devNO",TY_STR,"4402000000001002"},//   312219080001
//		{"propertyCode",TY_STR,"4402000000001002"},
//		{"can_ver",TY_STR,"1.10"},//030201000000000000000274
//		{"MaxV",TY_INT,"264"},
//		{"MaxI",TY_INT,"30"},
//		{"InMt_Baud",TY_INT,"2400"},
//		{"In_phase_num",TY_INT,"1"},
//		{"OutMt_Baud",TY_INT,"2400"},
//		{"cannum",TY_INT,"2"},
//		{"mt_portnum",TY_INT,"2"},
//		{"LOG_DAYS",TY_INT,"30"},//日志记录天数
//		{"LOGENABLE",TY_INT,"1"},//日志是否记录到Flash
//		{"START_LOG",TY_STR,"200229"},//日志开始记录日期
//		{"MAIN_VER",TY_STR,"191202"},
//
//};
//#endif
////
////configPara  conf_tab[] = {
////		{"firmid",TY_INT,"0"},
////		{"devtype",TY_INT,"1"},
////#if GUNNUM==1
////		{"gunnum",TY_INT,"1"},
////#else
////		{"gunnum",TY_INT,"2"},
////#endif
////
////		{"server_ip",TY_STR,"193.112.182.48"},
////		{"server_port",TY_INT,"2412"},//
////		{"devNO",TY_STR,"4402000000001002"},//   312219080001
////		{"propertyCode",TY_STR,"4402000000001002"},
////		{"can_ver",TY_STR,"1.10"},//030201000000000000000274
////		{"MaxV",TY_INT,"264"},
////		{"MaxI",TY_INT,"30"},
////		{"InMt_Baud",TY_INT,"2400"},
////		{"In_phase_num",TY_INT,"1"},
////		{"OutMt_Baud",TY_INT,"2400"},
////		{"cannum",TY_INT,"2"},
////		{"mt_portnum",TY_INT,"2"},
////		{"CARD_PSAM",TY_STR,"010000161218"},
////		{"LOG_DAYS",TY_INT,"30"},//日志记录天数
////		{"LOGENABLE",TY_INT,"1"},//日志是否记录到Flash
////		{"START_LOG",TY_STR,"200229"},//日志开始记录日期
////		{"MAIN_VER",TY_STR,"191202"},
////
////};
//
//
////#if GUNNUM==1
//////直流 单枪 ,羊城充，DCA700
////configPara  conf_tab[] = {
////		{"firmid",TY_INT,"0"},
////		{"devtype",TY_INT,"1"},
////		{"gunnum",TY_INT,"2"},//4402000003320008、4402000003320009  收到充电要求，准备充电  39.108.177.207
////		{"devNO",TY_STR,"4402000003220001"},//   0302010000000274  4402000000005108"},//   1150071318010001  0302000000000136  志文件
////		{"server_ip",TY_STR,"120.76.215.72"},//度度充 120.76.228.189  //60.191.107.133  192.168.1.199  //粤易充  60.191.107.133  2804  47.92.34.130   8076
////		{"server_port",TY_INT,"5051"},//
////		{"1st_mt_comno",TY_INT,"3"},
////		{"1st_mt_baud",TY_INT,"2400"},
////		{"phase_num",TY_INT,"3"},
////		{"can_ver",TY_STR,"1.10"},//030201000000000000000274
////		{"propertyCode",TY_STR,"4402000003220001"},//030200000000000000000255  2018122709310001  030201000000000000000274
////		{"MaxV",TY_INT,"264"},
////		{"MaxI",TY_INT,"30"},
////		{"cannum",TY_INT,"1"},
////		{"mt_portnum",TY_INT,"4"},
////		{"gunno_1st",TY_INT,"0"},
////		{"gunno_2nt",TY_INT,"0"},
////		{"canaddr1",TY_INT,"246"},//0xf6
////		{"canaddr2",TY_INT,"246"},//0xf6
////		{"2nd_mt_comno",TY_INT,"2"},
////		{"1ST_METER_ADDR" ,TY_STR,"111111111111"},//070250000787
////		{"2ND_METER_ADDR",TY_STR,"201812260026"},//070250000786  260026121820
////		{"ctrlpw_type",TY_INT,"1"},//0,无控制 1,支持共充，2,支持功率调节
////		{"ShowStopReason",TY_INT,"0"},
////		{"LOGENABLE",TY_INT,"0"},//日志是否记录到Flash
////		{"HARDWARE_VER",TY_INT,"3"},//硬件版本号 1:210 2:700 3:600
////		{"CARD_PSAM",TY_STR,"010000161218"},//psam                   010099993134
////};
////
////#endif
//
//#ifdef __cplusplus
//}
//#endif
//
//#endif /* CONFIG_CYSR_H_ */


